#ifndef _D_LIST_H_
#define _D_LIST_H_

#define _DEBUG 1

#include <stddef.h>

typedef struct Node
{
	int i;
	struct Node *next;
	struct Node *prev;
}Node;

typedef struct DList
{
	struct Node* head;
	size_t size;
}DList;

DList* create_list(size_t size);
void destory_list(DList *plist);

DList* reverse(DList *plist);

void traverse(DList *plist);


#endif
